﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Runtime.Serialization;
using Unis.Framework.ORM.Attributes;
using System.ComponentModel.DataAnnotations;

namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/1/12 11:34:05
    /// </summary> 
    [Serializable]
    [ModelMap("Plm_DailySupervision", new string[] { "Ds_ID" })]
    public class PlmDailysupervisionInfo : BaseEntity
    {
        public PlmDailysupervisionInfo()
        {

        }
        
        
        private string _dsId;
        /// <summary>
        /// 主键
        /// </summary>
        [ColumnMap("Ds_ID", System.Data.DbType.String)]
        public string Ds_ID
        {
            get {return _dsId;}
            set
            {
                if (object.Equals(this._dsId, value) != true)
                {
                    this._dsId = value;
                    this.RaisePropertyChanged("Ds_ID");
                }
            }
        }
        
        
        private int _dsUserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Ds_UserID", System.Data.DbType.Int32)]
        public int Ds_UserID
        {
            get {return _dsUserid;}
            set
            {
                if (object.Equals(this._dsUserid, value) != true)
                {
                    this._dsUserid = value;
                    this.RaisePropertyChanged("Ds_UserID");
                }
            }
        }
        
        
        private string _dsUsername;
        /// <summary>
        /// 操作人名称
        /// </summary>
        [ColumnMap("Ds_UserName", System.Data.DbType.String)]
        public string Ds_UserName
        {
            get {return _dsUsername;}
            set
            {
                if (object.Equals(this._dsUsername, value) != true)
                {
                    this._dsUsername = value;
                    this.RaisePropertyChanged("Ds_UserName");
                }
            }
        }
        
        
        private DateTime _dsUpdatetime;
        /// <summary>
        /// 操作日期
        /// </summary>
        [ColumnMap("Ds_UpdateTime", System.Data.DbType.DateTime)]
        public DateTime Ds_UpdateTime
        {
            get {return _dsUpdatetime;}
            set
            {
                if (object.Equals(this._dsUpdatetime, value) != true)
                {
                    this._dsUpdatetime = value;
                    this.RaisePropertyChanged("Ds_UpdateTime");
                }
            }
        }
        
        
        private string _dsContractnumber;
        /// <summary>
        /// 合同号
        /// </summary>
        [ColumnMap("Ds_ContractNumber", System.Data.DbType.String)]
        public string Ds_ContractNumber
        {
            get {return _dsContractnumber;}
            set
            {
                if (object.Equals(this._dsContractnumber, value) != true)
                {
                    this._dsContractnumber = value;
                    this.RaisePropertyChanged("Ds_ContractNumber");
                }
            }
        }
        
        
        private DateTime _dsWorkdate;
        [Required(AllowEmptyStrings=false,ErrorMessage ="*")]
        /// <summary>
        /// 工作日期
        /// </summary>
        [ColumnMap("Ds_WorkDate", System.Data.DbType.DateTime)]
        public DateTime Ds_WorkDate
        {
            get {return _dsWorkdate;}
            set
            {
                if (object.Equals(this._dsWorkdate, value) != true)
                {
                    this._dsWorkdate = value;
                    this.RaisePropertyChanged("Ds_WorkDate");
                }
            }
        }
        
        
        private string _dsDirectorsection;
        /// <summary>
        /// 总监办标段
        /// </summary>
        [ColumnMap("Ds_DirectorSection", System.Data.DbType.String)]
        public string Ds_DirectorSection
        {
            get {return _dsDirectorsection;}
            set
            {
                if (object.Equals(this._dsDirectorsection, value) != true)
                {
                    this._dsDirectorsection = value;
                    this.RaisePropertyChanged("Ds_DirectorSection");
                }
            }
        }
        
        
        private string _dsDirectorname;
        /// <summary>
        /// 总监办单位名称
        /// </summary>
        [ColumnMap("Ds_DirectorName", System.Data.DbType.String)]
        public string Ds_DirectorName
        {
            get {return _dsDirectorname;}
            set
            {
                if (object.Equals(this._dsDirectorname, value) != true)
                {
                    this._dsDirectorname = value;
                    this.RaisePropertyChanged("Ds_DirectorName");
                }
            }
        }
        
        
        private string _dsSupervisorsection;
        /// <summary>
        /// 监理标段
        /// </summary>
        [ColumnMap("Ds_SupervisorSection", System.Data.DbType.String)]
        public string Ds_SupervisorSection
        {
            get {return _dsSupervisorsection;}
            set
            {
                if (object.Equals(this._dsSupervisorsection, value) != true)
                {
                    this._dsSupervisorsection = value;
                    this.RaisePropertyChanged("Ds_SupervisorSection");
                }
            }
        }
        
        
        private string _dsSupervisorname;
        /// <summary>
        /// 监理单位名称
        /// </summary>
        [ColumnMap("Ds_SupervisorName", System.Data.DbType.String)]
        [Required(ErrorMessage ="*")]
        public string Ds_SupervisorName
        {
            get {return _dsSupervisorname;}
            set
            {
                if (object.Equals(this._dsSupervisorname, value) != true)
                {
                    this._dsSupervisorname = value;
                    this.RaisePropertyChanged("Ds_SupervisorName");
                }
            }
        }
        
        
        private string _dsOwnpersons;
        /// <summary>
        /// 自有人员
        /// </summary>
        [ColumnMap("Ds_OwnPersons", System.Data.DbType.String)]
        public string Ds_OwnPersons
        {
            get {return _dsOwnpersons;}
            set
            {
                if (object.Equals(this._dsOwnpersons, value) != true)
                {
                    this._dsOwnpersons = value;
                    this.RaisePropertyChanged("Ds_OwnPersons");
                }
            }
        }
        
        
        private string _dsExternalpersons;
        /// <summary>
        /// 外聘人员
        /// </summary>
        [ColumnMap("Ds_ExternalPersons", System.Data.DbType.String)]
        public string Ds_ExternalPersons
        {
            get {return _dsExternalpersons;}
            set
            {
                if (object.Equals(this._dsExternalpersons, value) != true)
                {
                    this._dsExternalpersons = value;
                    this.RaisePropertyChanged("Ds_ExternalPersons");
                }
            }
        }
        
        
        private string _dsSupervisorpersons;
        /// <summary>
        /// 监理员、实验员
        /// </summary>
        [ColumnMap("Ds_SupervisorPersons", System.Data.DbType.String)]
        public string Ds_SupervisorPersons
        {
            get {return _dsSupervisorpersons;}
            set
            {
                if (object.Equals(this._dsSupervisorpersons, value) != true)
                {
                    this._dsSupervisorpersons = value;
                    this.RaisePropertyChanged("Ds_SupervisorPersons");
                }
            }
        }
        
        
        private string _dsJobcontent;
        /// <summary>
        /// 监理每日工作内容
        /// </summary>
        [ColumnMap("Ds_JobContent", System.Data.DbType.String)]
        public string Ds_JobContent
        {
            get {return _dsJobcontent;}
            set
            {
                if (object.Equals(this._dsJobcontent, value) != true)
                {
                    this._dsJobcontent = value;
                    this.RaisePropertyChanged("Ds_JobContent");
                }
            }
        }
        
        
        private string _dsLabconstruction;
        /// <summary>
        /// 中心试验室建设情况
        /// </summary>
        [ColumnMap("Ds_LabConstruction", System.Data.DbType.String)]
        public string Ds_LabConstruction
        {
            get {return _dsLabconstruction;}
            set
            {
                if (object.Equals(this._dsLabconstruction, value) != true)
                {
                    this._dsLabconstruction = value;
                    this.RaisePropertyChanged("Ds_LabConstruction");
                }
            }
        }
        
        
        private string _dsPlanrule;
        /// <summary>
        /// 监理（检测）计划、细则（安全环保）编制
        /// </summary>
        [ColumnMap("Ds_PlanRule", System.Data.DbType.String)]
        public string Ds_PlanRule
        {
            get {return _dsPlanrule;}
            set
            {
                if (object.Equals(this._dsPlanrule, value) != true)
                {
                    this._dsPlanrule = value;
                    this.RaisePropertyChanged("Ds_PlanRule");
                }
            }
        }
        
        
        private string _dsConstructiontable;
        /// <summary>
        /// 监理施工表格
        /// </summary>
        [ColumnMap("Ds_ConstructionTable", System.Data.DbType.String)]
        public string Ds_ConstructionTable
        {
            get {return _dsConstructiontable;}
            set
            {
                if (object.Equals(this._dsConstructiontable, value) != true)
                {
                    this._dsConstructiontable = value;
                    this.RaisePropertyChanged("Ds_ConstructionTable");
                }
            }
        }
        
        
        private string _dsWireretest;
        /// <summary>
        /// 导线点、水准点及地面线复测
        /// </summary>
        [ColumnMap("Ds_WireRetest", System.Data.DbType.String)]
        public string Ds_WireRetest
        {
            get {return _dsWireretest;}
            set
            {
                if (object.Equals(this._dsWireretest, value) != true)
                {
                    this._dsWireretest = value;
                    this.RaisePropertyChanged("Ds_WireRetest");
                }
            }
        }
        
        
        private string _dsEquipmentapproach;
        /// <summary>
        /// 测量、实验设备进场情况
        /// </summary>
        [ColumnMap("Ds_EquipmentApproach", System.Data.DbType.String)]
        public string Ds_EquipmentApproach
        {
            get {return _dsEquipmentapproach;}
            set
            {
                if (object.Equals(this._dsEquipmentapproach, value) != true)
                {
                    this._dsEquipmentapproach = value;
                    this.RaisePropertyChanged("Ds_EquipmentApproach");
                }
            }
        }
        
        
        private string _dsRemark;
        /// <summary>
        /// 备注
        /// </summary>
        [ColumnMap("Ds_Remark", System.Data.DbType.String)]
        public string Ds_Remark
        {
            get {return _dsRemark;}
            set
            {
                if (object.Equals(this._dsRemark, value) != true)
                {
                    this._dsRemark = value;
                    this.RaisePropertyChanged("Ds_Remark");
                }
            }
        }

        private int _assistID;
        /// <summary>
        /// 备注
        /// </summary>
        [ColumnMap("Assist_ID", System.Data.DbType.Int32)]
        public int Assist_ID
        {
            get { return _assistID; }
            set
            {
                if (object.Equals(this._assistID, value) != true)
                {
                    this._assistID = value;
                    this.RaisePropertyChanged("Assist_ID");
                }
            }
        }
    }
}


